package com.cqq.print.business.dao.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.cqq.print.business.dao.domain.POcpProcess;
import com.cqq.print.business.dao.mapper.POcpProcessMapper;


/**
 * @author generated
 * @date 2015-07-01
 */


@Repository(value="pOcpProcessDao")
public class POcpProcessDaoImpl extends com.cqq.common.core.base.BaseDao implements com.cqq.print.business.dao.POcpProcessDao{

             @Autowired
             private POcpProcessMapper pOcpProcessMapper;



    public int deleteByPrimaryKey(Integer id){
        return pOcpProcessMapper.deleteByPrimaryKey(id);
    }

    public int insert(POcpProcess record){
        return pOcpProcessMapper.insert(record);
    }

    public int insertSelective(POcpProcess record){
        return pOcpProcessMapper.insertSelective(record);
    }

    public POcpProcess selectByPrimaryKey(Integer id){
        return pOcpProcessMapper.selectByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(POcpProcess record){
        return pOcpProcessMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(POcpProcess record){
        return pOcpProcessMapper.updateByPrimaryKey(record);
    }

	public POcpProcess queryOCPProcessByProId(Integer proId) {
		return pOcpProcessMapper.queryOCPProcessByProId(proId);
	}



}